package bubbleSort;

import shared.Buffer;
import shared.SortInput;
import shared.SortStarter;

public class BubbleSortStarter<T extends Comparable<? super T>> extends SortStarter<T>{

	@Override
	public Buffer<T> startSorter(final Buffer<SortInput<T>> inputBuffer) {
		final BubbleSorter<T> bubbleSorter = new BubbleSorter<T>(inputBuffer);
		return bubbleSorter.getResult();
	}
}
